//
//  CLSegmentView.h
//  project
//
//  Created by Apple on 2017/11/7.
//  Copyright © 2017年 Macmini. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CLSegmentView : UIView
@property (nonatomic,strong)NSArray * nameArray;
@property (nonatomic,strong)NSArray * imageArray;
@property (nonatomic,strong)NSArray *controllers;
@property (nonatomic,strong)UIView * segmentView;
@property (nonatomic,strong)UIScrollView * segmentScrollV;
@property (nonatomic,strong)UILabel * line;
@property (nonatomic ,strong)UIButton * seleBtn;
@property (nonatomic,strong)UILabel * down;


- (instancetype)initWithFrame:(CGRect)frame controllers:(NSArray *)controllers titleArray:(NSArray *)titleArray imageArray:(NSArray *)imageArray ParentController:(UIViewController *)parentC  lineWidth:(float)lineW lineHeight:(float)lineH titleHeiht :(NSInteger)heiht;
- (void)setSelectIndex:(NSUInteger )index;
@end
